import { BN } from "bn.js";
export function safeDivide(value, divisor) {
  const bnValue = new BN(value);
  const bnDivisor = new BN(divisor);
  return bnValue.div(bnDivisor);
}

export function safeMultiply(value, multiplier) {
  const bnValue = new BN(value);
  const bnMultiplier = new BN(multiplier);
  return bnValue.mul(bnMultiplier);
}

